Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <p>Click the "Try it" button to change the style of the list:</p> <button onclick="myFunction()">Try it</button> <ul id="myUL"> <li>Emil</li> <li>Tobias</li> <li>Linus</li> </ul> <script> function myFunction() { document.getElementById("myUL").style.listStyle = "decimal inside"; } </script> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_js_list-style by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:52:23 GMT --> </html>
Result:
Try it Yourself - © w3schools.com